package org.zjj.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import org.zjj.dao.NameDao;
import org.zjj.service.NameService;

@Service
public class NameServiceImpl implements NameService {
    @Autowired
    @Qualifier(value = "nameDao")
    NameDao namedao;

    @Autowired
    @Qualifier(value = "nameNewDao")
    NameDao namenewdao;


    @Override
    public void showNameDetail() {
        namedao.showNameDetail();
    }

    @Override
    public void showNameNewDetail() {
        namenewdao.showNameDetail();
    }
}
